package com.usf.jprovider.schema.provider.dao.resultset;

import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlSeeAlso;

import com.usf.jprovider.schema.provider.dao.AbstractDAOSource;
import com.usf.jprovider.schema.selector.entry.AbstractEntrySelector;
import com.usf.jprovider.schema.selector.entry.RandomEntry;
import com.usf.jprovider.schema.selector.value.AbstractValueSelector;
import com.usf.jprovider.schema.selector.value.EqualValue;

@XmlSeeAlso({
	DAOField.class,
	DAOQuery.class,
	DAOCallableStatement.class
})
public abstract class AbstractDAOResultSetSource extends AbstractDAOSource {
	
	@XmlElement protected AbstractValueSelector valueSelector;
	@XmlElement protected AbstractEntrySelector entrySelector;

	protected AbstractDAOResultSetSource() {
		super();
		entrySelector = new RandomEntry();
		valueSelector = new EqualValue();
	}
	public AbstractValueSelector getValueSelector() {
		return valueSelector;
	}
	public AbstractEntrySelector getEntrySelector() {
		return entrySelector;
	}
		
}
